//
//  LoginViewController.m
//  qiuShiJiangHu
//
//  Created by xalo on 16/1/25.
//  Copyright © 2016年 糗事江湖项目组. All rights reserved.
//

#import "LoginViewController.h"

@interface LoginViewController ()<UITextFieldDelegate>


@property (strong, nonatomic) IBOutlet UITextField *userNameTF;


@property (strong, nonatomic) IBOutlet UITextField *passWordTF;

@property (strong, nonatomic) IBOutlet UIButton *loginWithSinaBlog;


@property (strong, nonatomic) IBOutlet UIButton *regist;

@property (strong, nonatomic) IBOutlet UIButton *login;

@property (strong, nonatomic) IBOutlet UIImageView *sinaPicture;





@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.userNameTF.delegate = self;
    self.passWordTF.delegate = self;
    self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"loginBack.jpg"]];
    self.loginWithSinaBlog.backgroundColor = [UIColor whiteColor];
    self.sinaPicture.image = [UIImage imageNamed:@"sinaBlog.png"];
    self.login.backgroundColor = [UIColor greenColor];
    
    
    
    
    
    // Do any additional setup after loading the view.
}





- (BOOL)textFieldShouldReturn:(UITextField *)textField {
    
    
    [textField resignFirstResponder];
    return YES;
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
